<%@ page language="java" import="java.util.*" pageEncoding="iso-8859-1"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>测试控制器发送的数据</title>
<head/>

<body >

使用超链接向后台发送数据
<br/>
<a href="/pamser01?name=1233444">发送参数1</a>
<a href="/pamser02?name=1233444&pwd=admin">发送参数1</a>

<form action= "/login" method="post">
        <table>
    <tr>
        <td>.用户名</td>
        <td><input type="text" name= "username"/></td>
    </tr>
    <tr>
        <td>密码</td>
        <td><input type= "password" name= "password"/></td>
    </tr>
    <tr>
        <td>年龄</td>
        <td><input type= "text" name= "age"/></td>
    </tr>
    <tr>
        <td colspan= "2"><input type= "submit" value= "提交"/></td>
    </tr>
    </table>
</form>


</body>
</html>